package com.gr.service.impl;

import com.gr.entity.Resource;
import com.gr.dao.ResourceMapper;
import com.gr.service.IResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单管理 服务实现类
 * </p>
 *
 * @author guoran
 * @since 2022-05-07
 */
@Service
public class ResourceServiceImpl extends ServiceImpl<ResourceMapper, Resource> implements IResourceService {

    @Override
    public List<Resource> selectResourcesByAdminId(Integer adminId) {
        return baseMapper.selectResourcesByAdminId(adminId);
    }
}
